.Net Framework > v2.0.50727 > Microsoft > VisualBasic > FileSystem > Dir Dir()
Dir(String,FileAttribute)


Dir()

Category
Method
Description
Returns a string representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive. The My.Computer.FileSystem Object gives you greater productivity and performance in file I/O operations than the Dir function. See My.Computer.FileSystem.GetDirectoryInfo Method for more information.
Type
String
Character
public, static
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Dir(String,FileAttribute)

Category
Method
Description
Returns a string representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive. The My.Computer.FileSystem Object gives you greater productivity and performance in file I/O operations than the Dir function. See My.Computer.FileSystem.GetDirectoryInfo Method for more information.
Type
String
Character
public, static
Parameters
NameTypeDescription
PathNameString
AttributesFileAttribute
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database